package com.th.system.service;

import com.baomidou.mybatisplus.core.conditions.AbstractWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.th.system.domain.UsTask;

import java.util.List;

/**
 * @author ValcanoZz
 * @creat 2023-06-23-9:15
 */

public interface UsTaskService extends IService<UsTask> {

    /**
     * 任务信息写入数据库
     * @param usTask
     * @return
     */
    public Long insertUsTask(UsTask usTask);

    public List<UsTask> selectTasksByOrderId(Long orderId);

    public List<UsTask> selectPage(int startPage, int size, LambdaQueryWrapper<UsTask> wrapper);

    public void updateTask(UsTask usTask);

    public void deleteTask(Long id);
}
